package edu.kit.aifb.ruleintegrator.rule;

import java.util.List;

import org.semanticweb.yars.nx.Resource;
import org.semanticweb.yars.nx.Variable;

import edu.kit.aifb.ats.triples.model.Pattern;

public class RelationPredicate extends Predicate {
	
	private Resource m_relation;
	private Variable m_sourceVar;
	private Variable m_targetVar;

	public RelationPredicate(Resource relation){
		super();
		this.m_sourceVar=Signature.createNewVariable();
		this.m_targetVar=Signature.createNewVariable();
		
		this.m_sign=new Signature(new Variable[]{m_sourceVar,m_targetVar});
		this.m_relation=relation;

	}

	public Resource getRelation(){
		return m_relation;
	}

	public Variable getSourceVariable(){
		return m_sourceVar;		
	}

	public Variable getTargetVariable(){
		return m_targetVar;
	}

	@Override
	public List<Pattern> getPatterns(Signature sign) {
		// TODO Auto-generated method stub
		return null;
	}

}
